Skip to content

feat(api): support custom HTTPS providers for external storage - #1489

Merged
yoni-oai merged 1 commit into
mainfrom
castiron/promotions/pr-538
Dec 5, 2026
Merged

yoni-oai merged 1 commit into
mainfrom
castiron/promotions/pr-538

Conversation

@yoni-oai

@yoni-oai yoni-oai commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

External Storage now supports custom HTTPS endpoints. Cloud bucket responses include a provider region. Custom endpoint responses omit it.

Changes

  • Use the matching bucket accessor before reading region(). For example, provider.aws() returns an empty Optional for a custom endpoint.
  • Set the storage routing key when building a Responses create request.
  • Save the signing secret returned when registering a custom endpoint. Later reads return a signing secret hint.
BEGIN_COMMIT_OVERRIDE
feat(api): support custom HTTPS providers for external storage. Existing bucket accessors and visitor implementations remain source-compatible. For a custom endpoint, `provider.aws()` returns an empty `Optional`. Handlers can register `onCustomEndpoint(...)` or `onDefault(...)`. (#1489)
END_COMMIT_OVERRIDE

Castiron-Internal-PR: openai/openai-java-internal#538
Castiron-Source-SHA: e812e00253a6de7cd1c748e6549bd9d5ded48a87
Castiron-Public-Base-SHA: f51d344
@yoni-oai
yoni-oai requested a review from a team as a code owner December 4, 2026 23:44
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T23:45:40.393639Z f3fe368 PR opened
🔒 Security Review ✅ Completed 2026-12-04T23:46:15.180013Z f3fe368 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@markstuart-oai markstuart-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have been reviewing the generated SDK changes at this commit. The standard, beta, and structured Responses builders have been carrying the storage routing key through to the request body. The provider types have been keeping region access tied to bucket providers.

@yoni-oai
yoni-oai merged commit 06066d5 into main Dec 5, 2026
14 checks passed
@openai-sdks openai-sdks Bot mentioned this pull request Dec 5, 2026
@yoni-oai yoni-oai changed the title feat(api)!: support custom HTTPS providers for external storage feat(api): support custom HTTPS providers for external storage Dec 5, 2026
dpiet-oai pushed a commit that referenced this pull request Dec 5, 2026
Automated Release PR
---


## [4.118.0](v4.117.0...v4.118.0) (2026-12-05)


### Features

* **api:** add memory and history to beta agents ([#1486](#1486)) ([92d31e2](92d31e2))
* **api:** add model and token category to organization costs ([#1463](#1463)) ([3e3bb01](3e3bb01))
* **api:** add organization profile and policy management ([#1488](#1488)) ([f51d344](f51d344))
* **api:** add project API key status filters ([#1482](#1482)) ([092839f](092839f))
* **api:** support custom HTTPS providers for external storage. Existing bucket accessors and visitor implementations remain source-compatible. For a custom endpoint, `provider.aws()` returns an empty `Optional`. Handlers can register `onCustomEndpoint(...)` or `onDefault(...)`. ([#1489](#1489)) ([06066d5](06066d5))


### Chores

* **api:** clarify agent session deletion ([#1467](#1467)) ([d1f7c91](d1f7c91))
* pin the reviewed v5 transition candidate ([#1481](#1481)) ([6206afb](6206afb))
* refresh the v5 compatibility transition pin ([#1485](#1485)) ([1fc311b](1fc311b))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants